package com.ucombuy.youdiangou;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@MapperScan("com.ucombuy.youdiangou.dal")
//使Spring Aop容器可以解析Aop的一些配置
@EnableAspectJAutoProxy(proxyTargetClass = true)
@EnableScheduling
public class YoudiangouApplication {

    public static void main(String[] args) {
        SpringApplication.run (YoudiangouApplication.class, args);
    }
}
